﻿namespace Acoris.Content
{
    using System;

    /// <summary>
    /// 表示一个命名对象
    /// </summary>
    public abstract class NamedObject:Object
    {        

        /// <summary>
        /// 指示当前对象的内容
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 获取当前对象的等价字符串形式
        /// </summary>
        /// <returns>返回当前对象的等价字符串形式</returns>
        public override string ToString()
        {
            return Name;
        }
    }
}
